<!-- $Id: agency_info.htm 14216 2008-03-10 02:27:21Z testyang $ -->
{include file="pageheader.htm"}
{insert_scripts files="validator.js,../js/transport.js,../js/region.js"}
<div class="main-div">
<form method="post" action="suppliers.php" name="theForm"  onsubmit="return validate()">
<table cellspacing="1" cellpadding="3" width="100%">
  <tr>
    <td class="label">{$lang.suppliers_login_user}</td>
    <td><input type="text" name="login_user" maxlength="60" value="{$suppliers.login_user}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">{$lang.suppliers_login_password}</td>
    <td><input type="text" name="login_password" maxlength="60" value="{$suppliers.login_password}" />{$lang.require_field}</td>
  </tr>
   <tr>
    <td class="label">允许登陆</td>
    <td><input type="checkbox" name="is_check" maxlength="60" value="1" {if $suppliers.is_check eq '1'}checked="checked"{/if}/></td>
  </tr>
   <tr>
    <td class="label">二级域名</td>
    <td><input  name="sitename" maxlength="60" value="{$suppliers.sitename}"/>{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">{$lang.label_suppliers_name}</td>
    <td><input type="text" name="suppliers_name" maxlength="60" value="{$suppliers.suppliers_name}" />{$lang.require_field}</td>
  </tr>
  <tr>
    <td class="label">{$lang.label_suppliers_desc}</td>
    <td><textarea  name="suppliers_desc" cols="60" rows="4"  >{$suppliers.suppliers_desc}</textarea></td>
  </tr>

</table>

<table align="center">
  <tr>
    <td colspan="2" align="center">
      <input type="submit" class="button" value="{$lang.button_submit}" />
      <input type="reset" class="button" value="{$lang.button_reset}" />
      <input type="hidden" name="act" value="{$form_action}" />
      <input type="hidden" name="id" value="{$suppliers.suppliers_id}" />
    </td>
  </tr>
</table>
</form>
</div>
{insert_scripts files="../js/utils.js,validator.js"}
{literal}
<script language="JavaScript">
<!--
document.forms['theForm'].elements['suppliers_login_user'].focus();

onload = function()
{
    // 开始检查订单
    startCheckOrder();
}
/**
 * 检查表单输入的数据
 */
function validate()
{
    validator = new Validator("theForm");
    validator.required("suppliers_name",  no_suppliers_name);
    return validator.passed();
}
//-->
</script>
{/literal}
{include file="pagefooter.htm"}